how to display text when user clicks the button